const mongoose = require('mongoose');

/* 创建数据库 hcshop */
mongoose.connect('mongodb://123.207.247.28:27017/hcshop',{ useNewUrlParser: true });

//创建分类表
const Class = mongoose.model('class', mongoose.Schema({
    className: String,
    createTime:String
}));






module.exports = {
    Class
}



